extends Control

@export var fps_label: Label

var _current_fps: float

func _process(delta: float) -> void:
	var fps := Performance.get_monitor(Performance.TIME_FPS)
	if fps != _current_fps:
		_current_fps = fps
		fps_label.text = "FPS: %d" % _current_fps
